package com.mchsdk.paysdk.activity.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;

import com.mchsdk.paysdk.utils.MCHInflaterUtils;

/**
 * Created by LeBron on 2017/5/4.
 */

public class ToCertificateOKFragment extends Fragment{
    private View inflate;
    private FragmentActivity activity;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        inflate = inflater.inflate(MCHInflaterUtils.getLayout(getActivity(), "to_certificate_ok_fragment"), null);

        activity = getActivity();
//        queryPacksList();//请求数据
        Button button = (Button) inflate.findViewById(MCHInflaterUtils
                .getControl(activity, "mch_attestation_button_person"));
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                activity.finish();
            }
        });
        return inflate;
    }
}
